package com.demo.model;

import java.util.Date;
import java.util.List;


public class User {
    private String id;
    private Integer age;
    private List<String>  likes;
    private Date crtTime;

    public User(String id,  Integer age) {
        this.id = id;
        this.age = age;
    }

    public User(){};

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public List<String> getLikes() {
        return likes;
    }

    public void setLikes(List<String> likes) {
        this.likes = likes;
    }

    public Date getCrtTime() {
        return crtTime;
    }

    public void setCrtTime(Date crtTime) {
        this.crtTime = crtTime;
    }

    @Override
    public String toString() {
        return "User{" +
                "id='" + id + '\'' +
                ", age=" + age +
                ", likes=" + likes +
                ", crtTime=" + crtTime +
                '}';
    }
}
